﻿{% extends 'base.html' %} 

<!-- 导入css和js -->
{% block cssAndjava %}
<link rel=stylesheet type="text/css" href="/css/budget.css">
<link rel=stylesheet type="text/css" href="/css/budget_body1.css">
<link rel=stylesheet type="text/css" href="/css/budget_body2.css">
<script type="text/javascript" src="/script/budget.js"></script>
<script type="text/javascript" src="/script/budget_body2.js"></script>

<script type="text/javascript" src="/script/jquery.min.js"></script>
<script type="text/javascript" src="/script/highcharts.js"></script>
{% endblock cssAndjava %} 


<!-- 修改页边 -->
{% block pageside %}
<!-- 多级菜单 -->
<div class="divlist">
<dl id="list"> 
  <dt onclick="update_body(0);myhid();">汇总</dt>
  {% for key,value in itemlist.items %}
    <dt onclick="myshow();addupdate({{value.0.1}})">{{key}}</dt>
    <dd>
    {% for one in value %}
      <p onclick="update_body({{one.1}});changeBgColor(this);">{{one.0}}</p>
    {% endfor %}
    </dd>
  {% endfor %}
</dl>
</div>
<!-- 多级菜单结束 -->
{% endblock pageside %}

<!-- 修改主体内容 -->
{% block mainbody %}
<div id="div_body">
	<script language="JavaScript">
    update_body({{initItemid}})
  </script>
</div>
{% endblock mainbody %}